<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生夜宵点餐系统 - 登录</title>
    <link rel="stylesheet" href="../css/style.css">
</head>
<body>
    <div class="container">
        <div class="login-box">
            <h2>欢迎使用学生夜宵点餐系统</h2>
            <form id="loginForm">
                <div class="form-group">
                    <label for="username">用户名：</label>
                    <input type="text" id="username" name="username" required>
                </div>
                
                <div class="form-group">
                    <label for="password">密码：</label>
                    <input type="password" id="password" name="password" required>
                </div>
                
                <div class="form-group">
                    <label>角色选择：</label>
                    <div class="role-select">
                        <input type="radio" id="student" name="role" value="学生" checked>
                        <label for="student">学生</label>
                        
                        <input type="radio" id="delivery" name="role" value="配送员">
                        <label for="delivery">配送员</label>
                    </div>
                </div>
                
                <button type="submit" class="btn-login">登录</button>
            </form>
            
            <div class="register-link">
                <p>还没有账号？<a href="register.html">立即注册</a></p>
            </div>
        </div>
    </div>
    
    <script src="../js/login.js"></script>
</body>
</html>